FROM registry-vpc.cn-beijing.aliyuncs.com/ida/python:3.8-bullseye-gcc

COPY ../ /app/

ENV TZ=Asia/Shanghai
ENV PYTHONPATH='/app'
ENV WORKDIR='/app'
ENV ENVIRONMENT='production'

WORKDIR /app

RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/

CMD python src/test.py